.card {
    container-type: inline-size;
    container-name: card;
}

@container card (width < 330px){
    .card-icon {
        display: none !important;
    }
}